function getBirthday(idNumber) {
    var arr = idNumber.split('');
    var day = '';
    for (var i = 6; i < 14; i++) {
        day += arr[i];
    }
    return day;
}
console.log(getBirthday("433026196612172414"));